<?php
header('Content-Type: text/xml');
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

echo "<?xml version='1.0' encoding='UTF-8'?>";

$con = mysql_connect("localhost","cubeMass_f","cubeSelectNow");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
mysql_select_db("cubeMass", $con);

$sql = "SELECT * FROM model WHERE ID ='$_POST[model_id]'";
$result = mysql_query($sql,$con);
$row = mysql_fetch_array($result);

echo "<info>";
echo "<name>".$row['name']."</name>";
echo "<des>".$row['description']."</des>";
echo "</info>";

	
mysql_close($con);
?>





















